/* 
 * File:   main.cpp
 * Author: gustavo
 *
 * Created on August 11, 2011, 6:21 AM
 */

#include <cstdlib>
#include "mmpack/matrix.h"
#include "mmpack/image.h"
#include "mmpack/algebra.h"
#include "mmpack/image_analysis.h"

using namespace std;

/**
 * 
 **/
int main(int argc, char** argv) {

    Matrix<float> A(3, 2);
    Matrix<float> B(3, 2);
    Matrix<float> C;
    Matrix<char> D(3, 2);
    Image<char> Img(3, 2, IMAGE_TYPE_GRAY);

    D = Algebra::mult(Img, D);

    char * dt = Img.getData();
    dt[0] = 1;

    ImageAnalysis::otsu(Img);

    return 0;
}

